package org.jeecg.modules.yw.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.yw.entity.Lostsomeapprove;
import org.jeecg.modules.yw.mapper.LostsomeapproveMapper;
import org.jeecg.modules.yw.service.ILostsomeapproveService;
import org.jeecg.modules.yw.vo.LostsomeapproveVo;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 报损审批表
 * @Author: jeecg-boot
 * @Date:   2025-04-15
 * @Version: V1.0
 */
@Service
public class LostsomeapproveServiceImpl extends ServiceImpl<LostsomeapproveMapper, Lostsomeapprove> implements ILostsomeapproveService {
    @Resource
    private LostsomeapproveMapper lostsomeapproveMapper;
    public List<LostsomeapproveVo> queryList(int pageNo, int pageSize, String id, String orderNo){
        int offset = (pageNo - 1) * pageSize;
        return lostsomeapproveMapper.queryPageList(offset,pageSize, id,orderNo);
    }
}
